﻿@model SPDeveloper.Web.Models.Article

@section QuestionHeader{
<div id="question-header">
    <h1>
        <a href="/Article/Details/@Html.DisplayFor(model => model.ArticleId)" class="question-hyperlink">
            @Html.DisplayFor(model => model.Title)</a></h1>
</div>
}

<div class="question" id="question">
    <table>
        <tr>
            <td class="votecell">
                <div class="vote">
                    <input type="hidden" value="25972">
                    <a class="vote-up-off" title="This question shows research effort; it is useful and clear (click again to undo)">
                        up vote</a> <span class="vote-count-post">2</span> <a class="vote-down-off" title="This question does not show any research effort; it is unclear or not useful (click again to undo)">
                            down vote</a> <a class="star-off" href="#" title="This is a favorite question (click again to undo)">
                                favorite</a>
                    <div class="favoritecount">
                        <b></b>
                    </div>
                    
                    <a id="fb-share-25972" class="fb-share" title="share link to this question on Facebook">
                        share [fb]</a> <a id="twitter-share-25972" class="twitter-share" title="share link to this question on Twitter">
                            share [tw]</a>
                </div>
            </td>
            <td class="postcell">
                <div>
                    <div class="post-text">
                        <p>@Html.DisplayFor(model => model.Content)</p>
                    </div>
                    <div class="post-taglist">
                        <a href="/questions/tagged/active-directory" class="post-tag" title="show questions tagged 'active-directory'"
                            rel="tag">active-directory</a> <a href="/questions/tagged/user-profile-property"
                                class="post-tag" title="show questions tagged 'user-profile-property'" rel="tag">
                                user-profile-property</a>
                    </div>
                    <table class="fw">
                        <tr>
                            <td class="vt">
                                <div class="post-menu">
                                    <a href="/q/25972" title="short permalink to this question" id="link-post-25972">link</a><span
                                        class="lsep">|</span><a href="/posts/25972/edit">improve this question</a></div>
                            </td>
                            <td class="post-signature owner">
                                <div class="user-info">
                                    <div class="user-action-time">
                                        asked <span title="2011-12-28 12:26:04Z" class="relativetime">3 hours ago</span></div>
                                    <div class="user-gravatar32">
                                        <a href="/users/3145/user3145">
                                            <div class="">
                                                <img src="http://www.gravatar.com/avatar/2fad12ab3900ebc7e2f320131fa8e8e8?s=32&amp;d=identicon&amp;r=PG"
                                                    alt=""></div>
                                        </a>
                                    </div>
                                    <div class="user-details">
                                        <a href="/users/3145/user3145">user3145</a><br>
                                        <span class="reputation-score" title="reputation score" dir="ltr">68</span><span
                                            title="4 bronze badges"><span class="badge3"></span><span class="badgecount">4</span></span></div>
                                </div>
                                <br class="cbt">
                                <div class="accept-rate accept-answer-link" title="this user has accepted an answer for 7 of 8 eligible questions">
                                    88% accept rate</div>
                            </td>
                        </tr>
                    </table>
                </div>
            </td>
        </tr>
        <tr>
            <td class="votecell">
            </td>
            <td>
                <div id="comments-25972" class="comments">
                    <table>
                        <tbody>
                            <tr id="comment-22714" class="comment">
                                <td>
                                </td>
                                <td class="comment-text">
                                    <div>
                                        <span class="comment-copy">What do you mean you can&#39;t import it? Do you receive
                                            an error or message? Do you see it available in the User Profile Properties?</span>
                                        &ndash;&nbsp;<a href="/users/286/david-lozzi" title="1291 reputation" class="comment-user">David
                                            Lozzi</a> <span class="comment-date" dir="ltr"><span title="2011-12-28 12:36:07Z">2
                                                hours ago</span></span></div>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <div class="was-this-helpful">
                    feedback
                </div>
            </td>
        </tr>
    </table>
</div>
<div id="answers">
    <a name="tab-top"></a>
    <div id="answers-header">
        <div class="subheader answers-subheader">
            <h2>
                1 Answer</h2>
            <div id="tabs">
                <a href="/questions/25972/import-about-me-property-from-ad?answertab=active#tab-top"
                    title="Answers with the latest activity first">active</a> <a href="/questions/25972/import-about-me-property-from-ad?answertab=oldest#tab-top"
                        title="Answers in the order they were provided">oldest</a> <a class="youarehere"
                            href="/questions/25972/import-about-me-property-from-ad?answertab=votes#tab-top"
                            title="Answers with the highest score first">votes</a>
            </div>
        </div>
    </div>
    <a name="25977"></a>
    <div id="answer-25977" class="answer">
        <table>
            <tr>
                <td class="votecell">
                    <div class="vote">
                        <input type="hidden" value="25977">
                        <a class="vote-up-off" title="This answer is useful (click again to undo)">up vote</a>
                        <span class="vote-count-post">3</span> <a class="vote-down-off" title="This answer is not useful (click again to undo)">
                            down vote</a>
                    </div>
                </td>
                <td class="answercell">
                    <div class="post-text">
                        <p>
                            Open ADSIEdit and open the properties of a user in your environment that has this
                            information completed. Scroll down the list of properties until you find the one
                            that has that information in it. Once you find it, look at the property name. It
                            often is not what it is labeled in the ADUC forms. This is the name of the property
                            you want. Once you have this information, then go to the User Profile Property and
                            in the details of it, select that property as the source.
                        </p>
                    </div>
                    <table class="fw">
                        <tr>
                            <td class="vt">
                                <div class="post-menu">
                                    <a href="/a/25977" title="short permalink to this answer" id="link-post-25977">link</a><span
                                        class="lsep">|</span><a href="/posts/25977/edit">improve this answer</a></div>
                            </td>
                            <td align="right" class="post-signature">
                                <div class="user-info user-hover">
                                    <div class="user-action-time">
                                        answered <span title="2011-12-28 14:15:51Z" class="relativetime">1 hour ago</span></div>
                                    <div class="user-gravatar32">
                                        <a href="/users/10/lori">
                                            <div class="">
                                                <img src="http://www.gravatar.com/avatar/c568142ba48f81682f0422baff564408?s=32&amp;d=identicon&amp;r=PG"
                                                    alt=""></div>
                                        </a>
                                    </div>
                                    <div class="user-details">
                                        <a href="/users/10/lori">Lori</a><br>
                                        <span class="reputation-score" title="reputation score" dir="ltr">3,901</span><span
                                            title="2 silver badges"><span class="badge2"></span><span class="badgecount">2</span></span><span
                                                title="10 bronze badges"><span class="badge3"></span><span class="badgecount">10</span></span></div>
                                </div>
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td class="votecell">
                </td>
                <td>
                    <div id="comments-25977" class="comments dno">
                        <table>
                            <tbody>
                                <tr>
                                    <td>
                                    </td>
                                    <td>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                    <div class="was-this-helpful">
                        feedback
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <a name='new-answer'></a>
    <form id="post-form" action="/questions/25972/answer/submit" method="post" class="post-form">
    <h2 class="space">
        Your Answer</h2>
    <script type="text/javascript">
        StackExchange.ready(function () {

            initTagRenderer("".split(" "), "".split(" "));


            prepareEditor({

                heartbeatType: 'answer',
                bindNavPrevention: true,
                postfix: "",
                onDemand: true, immediatelyShowMarkdownHelp: true
            });

        });  
    </script>
    <div id="post-editor" class="post-editor">
        <div class="wmd-container">
            <div id="wmd-button-bar" class="wmd-button-bar">
            </div>
            <textarea id="wmd-input" class="wmd-input" name="post-text" cols="92" rows="15" tabindex="101"></textarea>
        </div>
        <div class="fl" style="margin-top: 8px; height: 24px;">
            &nbsp;</div>
        <div id="draft-saved" class="draft-saved community-option fl" style="margin-top: 8px;
            height: 24px; display: none;">
            draft saved</div>
        <div id="wmd-preview" class="wmd-preview">
        </div>
        <div>
        </div>
        <div class="edit-block">
            <input id="fkey" name="fkey" type="hidden" value="592e25f0835003374cb9395ea01b1069">
            <input id="author" name="author" type="text">
        </div>
    </div>
    <div class="form-item">
        <table>
            <tr>
                <td class="vm open-id-login">
                    <a id="login-link" style="font-size: 200%; margin-left: 30px;" href="/users/login?returnurl=%2fquestions%2f25972%2fimport-about-me-property-from-ad">
                        log in</a>
                    <script type="text/javascript">
                        StackExchange.ready(function () {
                            StackExchange.helpers.onClickDraftSave('#login-link');
                        });
                    </script>
                </td>
                <td class="orcell">
                    <div class="orword">
                        or</div>
                    <div class="orline">
                    </div>
                </td>
                <td class="vm">
                    <div>
                        <label for="display-name">
                            Name</label>
                        <input id="display-name" name="display-name" type="text" size="30" maxlength="30"
                            value="" tabindex="105">
                    </div>
                    <div>
                        <label for="m-address">
                            Email</label>
                        <input id="m-address" name="m-address" type="text" size="40" maxlength="100" value=""
                            tabindex="106">
                        <span class="edit-field-overlay">required, but never shown</span>
                    </div>
                    <div>
                        <label for="home-page">
                            Home Page</label>
                        <input id="home-page" name="home-page" type="text" size="40" maxlength="200" value=""
                            tabindex="107">
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="form-submit cbt">
        <input id="submit-button" type="submit" value="Post Your Answer" tabindex="110"></div>
    </form>
    <h2 class="bottom-notice">
        Not the answer you're looking for? Browse other questions tagged <a href="/questions/tagged/active-directory"
            class="post-tag" title="show questions tagged 'active-directory'" rel="tag">active-directory</a>
        <a href="/questions/tagged/user-profile-property" class="post-tag" title="show questions tagged 'user-profile-property'"
            rel="tag">user-profile-property</a> or <a href="/questions/ask">ask your own question</a>.
    </h2>
</div>


<fieldset>
    <legend>Article</legend>
    <div class="display-label">
        Genre</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Genre.Name)
    </div>
    <div class="display-label">
        Title</div>
    <div class="display-field">
    </div>
    <div class="display-label">
        Content</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Content)
    </div>
    <div class="display-label">
        PostDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.PostDate)
    </div>
    <div class="display-label">
        UpdateDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.UpdateDate)
    </div>
    <div class="display-label">
        LastCommentDate</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.LastCommentDate)
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id = Model.ArticleId }) |
    @Html.ActionLink("Back to List", "Index")
</p>
